# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-

# def options(opt):
#     pass

# def configure(conf):
#     conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')

def build(bld):
    module = bld.create_ns3_module('multithreading', ['core','network'])
    module.source = [
        'model/multithreaded-simulator-impl.cc',
        'helper/multithreading-helper.cc',
        'model/barrier.cc',
        'model/lbts-message.cc',
        'model/spin-barrier-impl.cc',
        ]

    module_test = bld.create_ns3_module_test_library('multithreading')
    module_test.source = [
        'test/multithreading-test-suite.cc',
        ]

    headers = bld(features='ns3header')
    headers.module = 'multithreading'
    headers.source = [
        'model/multithreaded-simulator-impl.h',
        'model/multithreading-partition.h',
        'helper/multithreading-helper.h',
        'model/barrier.h',
        'model/lbts-message.h',
        'model/spin-barrier-impl.h',
        ]

    #if bld.env.ENABLE_EXAMPLES:
        #bld.recurse('examples')

    # bld.ns3_python_bindings()

